<iframe src="window_open_spoof_click.html"></iframe>
<script>
function openWindow() {
  var iframe = document.getElementsByTagName('iframe')[0];
  iframe.contentWindow.postMessage('', self.origin);
}

window.addEventListener('message', function() {
  window.domAutomationController.send(true);
});
</script>

